home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-06-30 | 3.4 KB | 165 lines | [TEXT/MPS ] |
- #
- # MacCalendar
- # Copyright © 1994 Apple Computer Inc. All rights reserved.
- # This MakeFile builds the MacCalendar Control Strip and
- # the resource file needed for the MetroWerks DR3 compilation.
- #
- Src = ":Src:"
- Obj = ":Obj:"
-
- Objects = ∂
- {Obj}DrawCalendar.c.o ∂
- {Obj}MacCalendar.c.o
-
- AppObjects = ∂
- {Obj}DrawCalendar.c.ao ∂
- {Obj}MacCalendarSetup.c.ao ∂
- {Obj}OpenPreferenceFile.c.ao
-
- Headers = ∂
- {Src}MacCalendar.h ∂
- {Src}MacCalendarSetup.h ∂
- {Src}ControlStrip.h
-
- #
- # Directory Dependencies. Sources are in the {Src} subdirectory,
- # Objects in the {Obj} subdirectory.
- #
- {Obj} ƒ {Src}
-
- #
- # Compiler option configuration
- # .c.o MacCalendar objects
- # .c.ao MacCalendar Setup objects
- #
- # Status Bar Compiler Dependencies
- #
- .c.o ƒ .c ∂
- {Src}MacCalendar.h ∂
- {Src}ControlStrip.h
- C {COptions} -b2 -mbg full -trace never -r ∂
- -d MPW ∂
- -o {TargDir}{Default}.c.o ∂
- {DepDir}{Default}.c
-
- #
- # MacCalendar Setup Compiler Dependencies
- #
- .c.ao ƒ .c ∂
- {Src}MacCalendar.h
- C {COptions} -mbg full -trace never -r ∂
- -d MPW ∂
- -o {TargDir}{Default}.c.ao ∂
- {DepDir}{Default}.c
- #
- # Build the MetroWerks resources
- #
- MetroWerks ƒ ∂
- "MacCalendar Setup.µ.rsrc" ∂
- "MacCalendar.µ.rsrc"
- echo "MetroWerks resources created"
-
- #
- # Build the Control Strip module
- #
- "MacCalendar" ƒƒ ∂
- "MacCalendar Setup MPW" ∂
- Makefile ∂
- {Headers} ∂
- {Objects}
- Link ∂
- -w ∂
- -o {targ} ∂
- -t sdev ∂
- -c SCAL ∂
- -sg "MacCalendar" ∂
- -ra "MacCalendar"=resPurgeable ∂
- -rt sdev=0 ∂
- {Objects} ∂
- "{Libraries}"Interface.o
-
- "MacCalendar" ƒƒ ∂
- "MacCalendar Setup MPW" ∂
- Makefile ∂
- "MacCalendar.µ.rsrc" ∂
- {Headers} ∂
- {Objects} ∂
- {Src}MacCalendar.r ∂
- "MacCalendarIcons.rsrc" ∂
- MakeFile
- Rez ∂
- -o {targ} ∂
- -append ∂
- -t sdev ∂
- -c SCAL ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- -d MPW=1 ∂
- {Src}MacCalendar.r
-
- #
- # Build the configuration application.
- #
- "MacCalendar Setup MPW" ƒƒ ∂
- Makefile ∂
- {Headers} ∂
- {AppObjects}
- Link ∂
- -t APPL ∂
- -c SCCF ∂
- {AppObjects} ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- -o {targ}
-
- "MacCalendar Setup MPW" ƒƒ ∂
- Makefile ∂
- {Headers} ∂
- "MacCalendarSetupIcons.rsrc" ∂
- {Src}MacCalendarSetup.r
- Rez ∂
- -o {targ} ∂
- -append ∂
- -t APPL ∂
- -c SCCF ∂
- -d MPW=1 ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- {Src}MacCalendarSetup.r
-
- #
- # This builds a project resource file for the
- # Metrowerks DR3 environment.
- #
- "MacCalendar.µ.rsrc" ƒ ∂
- MakeFile ∂
- "MacCalendarIcons.rsrc" ∂
- "MacCalendar Setup.µ.rsrc" ∂
- {Src}MacCalendar.h ∂
- {Src}MacCalendar.r
- Rez ∂
- {Src}MacCalendar.r ∂
- -append ∂
- -t rsrc ∂
- -c RSED ∂
- -d "MPW=1" ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- -o {targ}
-
- "MacCalendar Setup.µ.rsrc" ƒ ∂
- MakeFile ∂
- "MacCalendarSetupIcons.rsrc" ∂
- {Src}MacCalendar.h ∂
- {Src}MacCalendarSetup.h ∂
- {Src}MacCalendarSetup.r
- Rez ∂
- {Src}MacCalendarSetup.r ∂
- -append ∂
- -t rsrc ∂
- -c RSED ∂
- -d "MPW=1" ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- -o {targ}
-